<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page isELIgnored="false" %>
<html>
<head>
</head>
<body>

<form action="${pageContext.request.contextPath }/dept/insert.do" method="post">
	名称：<input type="text"	name="deptName"><br>
	地址：<input type="text" name="deptAddress"><br>
	根据id增加
	<input type="submit" value="ok">
</form>

<form action="${pageContext.request.contextPath }/dept/delete.do" method="post">
	根据id删除：<input type="text"	name="deptId"><br>
	<input type="submit" value="ok">
</form>

<form action="${pageContext.request.contextPath }/dept/update.do" method="post">
	根据id修改：
	输入id<input type="text"	name="deptId"><br>
	修改名字<input type="text"	name="deptName"><br>
	修改地址<input type="text"	name="deptAddress"><br>
	<input type="submit" value="ok">
</form>

<form action="${pageContext.request.contextPath }/dept/select.do" method="post">
	根据id查询：
	<input type="text"	name="deptId"><br>
	<input type="submit" value="ok">
</form>


</body>
</html>
